FROM mysql

#设置免密登录
#ENV MYSQL_ALLOW_EMPTY_PASSWORD yes
ENV MYSQL_ROOT_PASSWORD 123456

COPY mysql/privite.sql /mysql/privite.sql
COPY mysql/w.sh /mysql/w.sh
#设置容器启动时执行的命令
#ENTRYPOINT ["/bin/bash","-c","sh /mysql/w.sh"]
